/**
 * Created by Administrator on 2017/9/20.
 */
angular.module('common.saleStatistics', [
        'ui.router',
        'ngStorage',
        'module.saleStatistics'
    ])

    .run(
        ['$rootScope', '$state', '$stateParams',
            function ($rootScope, $state, $stateParams) {
                $rootScope.$state = $state;
                $rootScope.$stateParams = $stateParams;
            }
        ]
    )

    .config(
        ['$stateProvider', '$locationProvider', '$urlRouterProvider',
            function ($stateProvider, $locationProvider, $urlRouterProvider) {
                //console.log("111133");
                $urlRouterProvider.otherwise('/saleStatistics');
            }
        ]
    );